'use client'
import React from 'react';
 
const MemoizedComponent = React.memo(function MyComponent(props: React.PropsWithChildren<{}>) {
    return <div>{props.children}</div>;
});

export default MemoizedComponent;